﻿#nullable enable

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 包含 CII，CIIGrade 和 V 的 Dto
/// </summary>
public class CIIAndVDto
{
    public CIIAndVDto(float? cii, CIIGrade? ciiGrade, float? v, string? message)
    {
        CII = cii;
        CIIGrade = ciiGrade;
        V = v;
        Message = message;
    }

    /// <summary>
    /// 剩余年度要达到的 CII
    /// </summary>
    public float? CII { get; init; }

    /// <summary>
    /// CII 等级
    /// </summary>
    public CIIGrade? CIIGrade { get; set; }
    
    /// <summary>
    /// 预达标的建议航速
    /// </summary>
    public float? V { get; set; }

    public string? Message { get; set; }
}